<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/18
 * Time: 15:18
 */
Route::group(['namespace' => 'User','middleware'=>'web'], function () {
    Route::any('/test','IndexController@getAllDate');
    Route::any('/login','UserController@userLogin');
    Route::any('/requestSmsCode','UserController@requestSmsCode');
    Route::any('/register','UserController@userRegister');
    Route::any('/forgetPwd','UserController@forgetPwd');
    Route::any('/getUserInfo','UserController@getUserInfo');
    Route::any('/setUserSetting','UserController@setUserSetting');
});